/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment2.question3.violatingDIP.Impl;

/**
 *
 * @author Ziyaad
 */
public class Car {
    
    private int litres;
    
    public double consumesFuel()
    {
       return litres * 10;
    }

    /**
     * @return the kmPerHr
     */
    public int getKmPerHr() {
        return litres;
    }

    /**
     * @param kmPerHr the kmPerHr to set
     */
    public void setKmPerHr(int litres) {
        this.litres = litres;
    }
    
}
